/*
 * Copyright (C), 2019, 派光信息技术有限公司
 * Description: 供需深圳下坪场系统
 */
package com.zf.wms.nservice.client;

import com.zf.wms.nservice.client.hystrix.BulletinClientHystrix;
import com.zf.wms.nservice.utils.ResultMap;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description:
 * @Author: Mine
 * @CreateDate: 2019/10/28
 * @email: 1943511692@qq.com
 * @Version: 1.0.0
 */
@FeignClient(name = "wms-business",url = "localhost:9003/",fallback = BulletinClientHystrix.class)
public interface BulletinClient {

    @GetMapping("/bulletin/list")
    public ResultMap getBulletinList(@RequestParam("pageNum") Integer pageNum, @RequestParam("pageSize") Integer pageSize);
}
